//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.edu.atams.excel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.edu.atams.common.sheet.StudentUpLoad;
import java.util.ArrayList;
import java.util.List;

public class ExcelListener extends AnalysisEventListener<Object> {
    private List<Object> data=new ArrayList<>();

    public ExcelListener(){

    }
    @Override
    public void invoke(Object o, AnalysisContext analysisContext) {
        this.data.add(o);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
    public List<Object> getData(){
        return this.data;
    }
    public void setData(List<Object> data){
        this.data=data;
    }
}
